/*
 * Copyright (C) 2010 TopCoder Inc., All Rights Reserved.
 */
package com.hercules.android.receiver.entities;

import java.util.Map;

/**
 * <p>
 * A POJO contains the data of XREApplication resource.
 * </p>
 * 
 * @author TCSASSEMBER
 * @version 1.0
 */
public class XREApplication extends XREObject {
    /**
     * The XRE URI of the application
     */
    private String uri;

    /**
     * The minimum desired version of the application.
     */
    private String minimumVersion;

    /**
     * An optional hash of parameters to send to new.
     */
    private Map<String, Object> launchParams;

    // An optional GUID identifying the session to use for this application.
    private String sessionGUID;

    /**
     * Gets the uri of this application.
     * 
     * @return the uri
     */
    public String getUri() {
        return uri;
    }

    /**
     * Sets the uri of this application.
     * 
     * @param uri
     *            the uri to set
     */
    public void setUri(String uri) {
        this.uri = uri;
    }

    /**
     * Gets the minimum verion.
     * 
     * @return the minimumVersion
     */
    public String getMinimumVersion() {
        return minimumVersion;
    }

    /**
     * Sets the minimum verion.
     * 
     * @param minimumVersion
     *            the minimumVersion to set
     */
    public void setMinimumVersion(String minimumVersion) {
        this.minimumVersion = minimumVersion;
    }

    /**
     * Gets the launch params.
     * 
     * @return the launchParams
     */
    public Map<String, Object> getLaunchParams() {
        return launchParams;
    }

    /**
     * Sets the launch params.
     * 
     * @param launchParams
     *            the launchParams to set
     */
    public void setLaunchParams(Map<String, Object> launchParams) {
        this.launchParams = launchParams;
    }

    /**
     * Gets the session guid.
     * 
     * @return the sessionGUID
     */
    public String getSessionGUID() {
        return sessionGUID;
    }

    /**
     * Sets the session guid.
     * 
     * @param sessionGUID
     *            the sessionGUID to set
     */
    public void setSessionGUID(String sessionGUID) {
        this.sessionGUID = sessionGUID;
    }
}
